﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Connect
{
    public partial class ViewSQL : Form
    {
        public ViewSQL()
        {
            InitializeComponent();
        }
        public ViewSQL(DataTable TableSQL)
        {
            InitializeComponent();
            dgvDanhSach.DataSource = TableSQL;
            status.Text = "Tổng số có " + dgvDanhSach.RowCount.ToString() + " dòng dữ liệu";
        }
        private void ViewSQL_Load(object sender, EventArgs e)
        {

        }
    }
}
